package cz.proks.easyhelpdesk.gwt.ui.widget;

import com.google.gwt.dom.client.HeadingElement;
import com.google.gwt.user.client.DOM;

public class H3Widget extends AHeading {

    protected H3Widget() {
        setElement(HeadingElement.as(DOM.createElement("h3")));
        setStyleName(getResources().style().h3Element());
    }
    
    public H3Widget withNoTopMargin() {
        removeStyleName(getResources().style().h3Element());
        setStyleName(getResources().style().h3ElementWithNoTopMargin());
        return this;
    }
}
